/*
 * Copyright (c) 1997-2012 InfoReach, Inc. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * InfoReach ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with InfoReach.
 *
 * CopyrightVersion 2.0
 *
 */

package com.inforeach.util.string;

import java.util.Collection;

/**
 * 
 * @author dmytros
 */
public interface ISplitUnite
{
    /** splits {@code str} into several parts and puts them into {@code col} */
    void split(String str, Collection<String> col);

    /** unites elements of {@code col} appending them into {@code builder} */
    void unite(Iterable<String> col, StringBuilder builder);
}
